package com.onesports.intelligent.k12.polarlight.domain.vo.user;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/*
  当默认的 Page 结构不能满足业务需求，可以继承Page，
  增加自定义业务字段
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserPage<T> extends Page<T> {
    private UserTotalVO userTotalVO = new UserTotalVO();

    public UserPage(Page originPage) {
        this.setCurrent(originPage.getCurrent());
        this.setSize(originPage.getSize());
    }

}
